package com.neusoft.neuiotms.dcam.fixed.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.neusoft.neuiotms.dcam.fixed.model.AssetType;
import com.neusoft.neuiotms.dcam.fixed.model.Product;

public interface ProductRepository extends JpaRepository<Product, Long>, CustomizedProductRepository {

    List<Product> findByAssetType(AssetType assettype);

    List<Product> findByAssetTypeAndNameAndBrandAndSpecification(AssetType assettype, String name, String brand,
            String specification);
}
